home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1998 March
/
EnigmA AMIGA RUN 25 (1997)(G.R. Edizioni)(IT)[!][issue 1998-03].iso
/
shape-files
/
shapedisk01.ssf
/
Games
/
Duke3D 68k
/
Duke
/
Duke.rsrc
/
scrp_1001_FireObject
< prev
next >
Wrap
Text File
|
1997-05-14
|
921b
|
67 lines
ifaction 0
ifrnd 16
{
action FIRE_FRAMES
cstator 128
}
sleeptime 300 // Never let it fall to sleep
ifspawnedby FIRE
{
ifgapzl 16
break
}
else
ifspawnedby FIRE2
{
ifgapzl 16
break
}
ifinwater
killit
ifp palive
ifpdistl 844
ifrnd 32
ifcansee
{
soundonce DUKE_LONGTERM_PAIN
addphealth -1
palfrom 32 32
}
ifactor FIRE
{
ifspawnedby FIRE
break
}
else
ifactor FIRE2
ifspawnedby FIRE2
break
iffloordistl 128
{
ifrnd 128
{
ifcount 84
killit
// This line(and the else below)
// is not necessary, since actors
// with zero x-size are automatically
// deleted anyway!
else
ifcount 42
sizeto 0 0
else
sizeto 32 32
}
}
else
killit
ends